﻿using System;
using System.Collections.Generic;
using System.Web;

namespace SubjectWorkShop.Web.admin
{
    /// <summary>
    /// $codebehindclassname$ 的摘要说明
    /// </summary>
    public class background : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            int iTotal = context.Request.Files.Count;
            string fname = "";
            if (context.Request.Files.Count > 0)
            {
                HttpPostedFile f = context.Request.Files[0];
                fname = f.FileName;
            }

            context.Response.Write("<script>alert('" +fname + "');</script>");
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}
